﻿namespace Socket.Core
{
    using System;
    using System.Runtime.CompilerServices;

    public class ReceivedArgs : EventArgs
    {
        public ReceivedArgs(ISession session, IReceiveInfo info)
        {
            this.Session = session;
            this.ReceiveInfo = info;
        }

        public IReceiveInfo ReceiveInfo { get; private set; }

        public ISession Session { get; private set; }
    }
}

